/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package magasin.GestionMagasin;

import java.util.ArrayList;

/**
 *
 * @author DJERBAL
 */
public class Magasin
{ public String Nom ;
    private String Adresse;
    private int NbEmployes;
    private Responsable responsable1=new Responsable();
    public Magasin()
    {    }
    public String GetNom ()
    {   return Nom;
    }
    public String GetAdresse ()
    {  return Adresse;
    }
     public int GetNbEmployes ()
    {  return NbEmployes;
    } 
     public void SetNbEmployes (int NbEmployes)
    {  if(NbEmployes>0){
       this.NbEmployes= NbEmployes;
        }
    }
    public void SetNom (String Nom)
    { this.Nom= Nom;
    }
    public void SetAdresse (String Adresse)
    {  this.Adresse=Adresse ;
      }
    public String GetNomResponsable()
    { return this.responsable1.GetNom();
    }
    public void  SetNomResponsable(String Nom)
    {// put your code here
        this.responsable1.SetNom(Nom);
    }
   
       
}
